package name.huzhenbo.java.patterns.command;

class RoverWest extends AbstractRoverState {
    public void move(Rover rover) {
        rover.setX(rover.getX() - 1);
    }

    public void turnLeft(Rover rover) {
        rover.setSouthState();
    }

    public void turnRight(Rover rover) {
        rover.setNorthState();
    }
}
